<?php

return [
    // 超级管理员id
    'superId'  => '1',
    'token'     => [
        'signerKey'         => 'VGhpbmtBdXRo',
        'publicKey'         => 'file://path/public.key',
        'privateKey'        => 'file://path/private.key',
        'notBefore'         => 0,
        'expiresAt'         => 3600,
        'refreshTtl'        => 7200,
        'type'              => 'Header|Post',
        'reloginCode'       => 50001,
        'refreshCode'       => 50002,
        'iss'               => 'client.ThinkAuth',
        'aud'               => 'server.ThinkAuth',
        'automaticRenewal'  => false,
        'aesKey'            =>'yQ1mV9xERI07FU9SROuf4gKCzqBE0AZM'
    ],
    'user'      => [
        'table'             =>'auth_user',
        'primaryKey'        =>'id',
        'foreignKey'        => 'userId',
    ],
    'role'      => [
        'table'             =>'auth_role',
        'primaryKey'        =>'id'
    ],
    'permission'=> [
        'table'             =>'auth_permission',
        'primaryKey'        =>'id'
    ]
];
